package com.wn.mapper;

import com.wn.common.pojo.Hotel;
import com.wn.common.pojo.HotelHouse;
import com.wn.common.pojo.MaxAndMinLatAndLng;

import java.util.List;

public interface HotelHouseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(HotelHouse record);

    int insertSelective(HotelHouse record);

    HotelHouse selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HotelHouse record);

    int updateByPrimaryKey(HotelHouse record);

    List<HotelHouse> queryAll();
    //高级检索的方法
    public List<HotelHouse> superSearch(String superSearchKeyWord);

    void getHotelByLatAndLng(MaxAndMinLatAndLng neighPosition);
}
